package com.aiden.cashbook.charge

import com.aiden.cashbook.base.BasePresenter
import com.aiden.cashbook.base.BaseView
import com.aiden.cashbook.bean.Bill
import com.aiden.cashbook.bean.UseType

object ChargeContract {

    interface Presenter: BasePresenter<View> {

        fun chargeAccount(bill: Bill)
        fun accountType(type: String)
    }

    interface View: BaseView<Presenter> {

        fun saveSuccess()

        fun saveFailure()

        fun typeLoadSuccess(list: List<UseType>)

        fun typeLoadFailure()
    }
}